package com.sr.vo.req;

import com.sr.pojo.WMember;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author xiaochi
 * @date 2022/5/1 12:02
 * @desc LoginVo
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class LoginVo extends WMember {

    private static final long serialVersionUID = 8323070569593631997L;

    @NotBlank(message = "账号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "验证码不能为空")
    private String code;

    private String authorization;
}
